package model.inspect;

import model.character.RestAdmin;
import model.character.RestWorker;
import model.dictionary.RestInspectType;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2015/12/30.
 */
public class RestInspect {
    private Integer id;
    private RestWorker worker;
//    private Shop shop;
    private RestAdmin admin;
    private RestInspectType inspectType;
    private Date createDate;
    private Date inspectDate;
    private Integer result;
    private List<RestInspectionItem> items;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public RestWorker getWorker() {
        return worker;
    }

    public void setWorker(RestWorker worker) {
        this.worker = worker;
    }

    public RestAdmin getAdmin() {
        return admin;
    }

    public void setAdmin(RestAdmin admin) {
        this.admin = admin;
    }

    public RestInspectType getInspectType() {
        return inspectType;
    }

    public void setInspectType(RestInspectType inspectType) {
        this.inspectType = inspectType;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getInspectDate() {
        return inspectDate;
    }

    public void setInspectDate(Date inspectDate) {
        this.inspectDate = inspectDate;
    }

    public Integer getResult() {
        return result;
    }

    public void setResult(Integer result) {
        this.result = result;
    }

    public List<RestInspectionItem> getItems() {
        return items;
    }

    public void setItems(List<RestInspectionItem> items) {
        this.items = items;
    }
}
